﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using FwProject.Restaurant.Dto;

namespace FwProject.PrePaymentInfo.Dto
{
    [AutoMap(typeof(PaymentInfoByReceipt))]
    public class ReceiptInfoModelDto:Entity<Guid>
    {
        /// <summary>
        /// 收款单号
        /// </summary>
        public string ReceiptInfoNumber { get; set; }
        /// <summary>
        /// 餐厅编号
        /// </summary>
        public Guid RestaurantId { get; set; }

        public string RestaurantName { get; set; }

        /// <summary>
        /// 实际收回金额
        /// </summary>
        public decimal TaskBackAmount { get; set; }

        public Guid ReceiptInfoId { get; set; }

        public Guid PaymentInfoId { get; set; }

        public ToVoidStatus ToVoid { get; set; } = ToVoidStatus.未作废;
        public DateTime? ToVoidTime { get; set; }
    }
}
